import {
  action,
  makeAutoObservable,
} from 'mobx';

class AppStore {
  isLogin = false

  color = '#ccc'

  constructor() {
    makeAutoObservable(this);
  }

  @action
  setLoginState() {
    this.isLogin = true;
  }

  @action
  setColor(color) {
    this.color = color;
  }
}
const appStore = new AppStore();

export default appStore;
